package com.wenjie.original.entity.vo.SysLogOper;

import com.mybatisflex.annotation.RelationOneToOne;
import com.wenjie.original.entity.SysAdmin;
import com.wenjie.original.entity.SysLogOper;
import com.wenjie.original.entity.common.vo.IResVo;
import com.wenjie.original.entity.common.vo.ISelVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class SysLogOperVo {

    @Data
    public static class SelVo extends SysLogOper implements ISelVo<SysLogOper> {
        @ApiModelProperty("当前页")
        private Integer pn = 1;

        @ApiModelProperty("页数")
        private Integer ps = 10;

        @ApiModelProperty("开始创建时间")
        private Long createDateStart;

        @ApiModelProperty("结束创建时间")
        private Long createDateEnd;

    }

    @Data
    public static class ResVo extends SysLogOper implements IResVo<SysLogOper> {

        @RelationOneToOne(selfField = "sysAdminId", targetField = "sysAdminId")
        private SysAdmin sysAdminInfo;


    }


}
